package com.tj.collection.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.tj.collection.db.entity.RptChatterOnlinePreHourEntity;

import java.util.Date;
import java.util.List;

/**
* User: linqu
* Date: 2023-11-20
* Time: 19:09:44.039
*/

public interface RptChatterOnlinePreHourDao  extends BaseMapper<RptChatterOnlinePreHourEntity> {
    /**
     * 获取当时时间段在线用户数据
     */
    List<RptChatterOnlinePreHourEntity> listChatterOnlinePreHour();

    int removeChatterOnlinePreHour();

    Integer getOnlineTotal(Date startDate, Date endDate);

    List<RptChatterOnlinePreHourEntity> listChatterOnline(String chatterCode, Integer startDate, Integer endDate);

    List<RptChatterOnlinePreHourEntity> getOnlineUserTotal(Date startDate, Date endDate);
}